﻿import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue';

const host = process.env.VITE_DEV_HOST || '127.0.0.1';
const port = Number(process.env.VITE_DEV_PORT) || 8080;

export default defineConfig({
  plugins: [vue()],
  server: {
    host,
    port,
  },
  preview: {
    host,
    port,
  },
});
